Methods and apparatuses for tuning voltage controlled oscillators

ABSTRACT

A method and apparatus for tuning a VCO circuit to provide desired modulations is described. In one embodiment, the method of the present invention uses a controlled voltage from a digital-to-analog converter to obtain VCO voltage/frequency characteristics. The VCO voltage/frequency characteristics are used to determine a VCO capacitance value as well as a charge pump current level for each frequency band of interest. For one embodiment, the VCO circuit includes a bank of switchable capacitors used to set the VCO capacitance value. The charge pump includes a number of switch-controlled current meters to set the charge pump current level. The VCO capacitors and charge pump current meters are controlled by an off-chip CPU.

RELATED APPLICATIONS

The present application is a continuation of U.S. Ser. No. 10/052,104 filed Jan. 16, 2002, entitled Methods and Apparatuses for Tuning Voltage Controlled Oscillators.

TECHNICAL FIELD OF THE INVENTION

The present invention relates generally to digital wireless communication, and more specifically to frequency modulation using a voltage-controlled oscillator (VCO).

BACKGROUND OF THE INVENTION

The proliferation of digital wireless communication systems has led to a need for reliable modulation circuitry. Phase-locked loop (PLL) circuits are attractive in modulation applications due to their combination of controllable modulation and stable and adjustable carrier frequency.

As known in the art, a VCO can be used to effect Gaussian-shaped Continuous Phase Binary Frequency Shift Keying Modulation (GCPBFSK) in which the modulating wave shifts the output frequencies, away from the center frequency, by an amount between predetermined values. The predetermined values, i.e., two different frequencies representing zero and one, are called modulation deviation and are denoted by f₀ and f₁ respectively. The frequencies, f₀ and f₁ are typically equal. For example, for a wireless standard having 79 channels in a frequency range of 2402 MHz–2480 MHz with each channel separated by 1 MHz, the center frequencies may be equal to 2402 MHz+nMHz (n=0 to 78). The f₀ may range within some negative values (e.g., from −140 KHz to −175 Khz) and f₁ may range within a corresponding positive values (e.g. from 140 KHz to 175 KHz), in respect to the center frequency.

In order to keep frequencies f₀ and f₁ within their specific range, the voltage to the VCO must be controlled very carefully. Typical VCO gain (KVCO) may be on the order of 100 MHz/V–200 MHz/V. Typical VCOs may be operated from 0.6 v to 2.2 v, but actually only the linear range (1.0 v–1.8 v) can be used for this application, otherwise non-linear distortion will result.

For a wide frequency range (2402 MHz–2480 MHz), it is difficult to maintain a linear frequency response. The oscillation frequency of a VCO circuit is inversely proportional to the square root of the product of the inductance and capacitance (LC). It is possible to divide a large frequency range into segments to obtain a piecewise linear response over each segment. This can be achieved by using a set of switch-able capacitors, varactors (whose capacitance is voltage-controllable) and inductors. Often a larger frequency range is divided to account for the tolerance values of integrated capacitors and inductors that may run as high as 30%. Each segment is then covered by a specific capacitor's combination.

The voltage-frequency characteristics of a VCO vary from chip to chip. Therefore to obtain the appropriate modulation characteristics, the voltage to the VCO must be controlled depending on the characteristics of the chip. A typical PLL circuit in accordance with the prior art includes a charge pump, which acts as a current source. The charge pump consists of a set of current sources. The appropriate current source is chosen, based on the VCO voltage-frequency characteristics, to charge the capacitors of the LPF and thus controls the voltage to the VCO.

The difficulty arises in determining the VCO capacitance value (i.e. the capacitors' combination) and charge pump current value to provide the desired modulation deviation for each channel.

SUMMARY OF THE INVENTION

A method for setting the VCO circuit capacitance value and charge pump current level is described. To set the capacitance value, the operation frequency range is divided into a plurality of frequency bands. Then the frequency of a voltage-controlled oscillator (VCO) for each combination of capacitance values and lowest/highest control voltage levels is measured. A capacitance value for each frequency band is then selected such that the frequency band is between the lowest frequency (corresponding to the lowest voltage level) and highest frequency (corresponding to the highest control voltage).

To set the charge pump current level, a representative frequency is determined for each frequency band. Then VCO gain at the representative frequency is estimated and the charge pump current level for each frequency band is selected based upon the estimated VCO gain.

Other features and advantages of the present invention will be apparent from the accompanying drawings, and from the detailed description, that follows below.

BRIEF DESCRIPTION OF THE FIGURES

The present invention is illustrated by way of example, and not limitation, by the figures of the accompanying drawings in which like references indicate similar elements and in which:

FIG. 1 illustrates a typical PLL circuit in accordance with the present invention;

FIG. 2 illustrates a VCO circuit in accordance with the present invention;

FIG. 3 is a process flow diagram in accordance with the present invention;

FIG. 4 illustrates, graphically, exemplary voltage frequency measurements in accordance with one embodiment of the present invention; and

FIG. 5 illustrates a system block diagram in accordance with one embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

A method and apparatus for tuning a VCO is described. An embodiment of the invention provides a method that determines the VCO variable capacitance value and the charge pump current level to provide desired modulation characteristics within a specified band.

In the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.

FIG. 1 illustrates a typical PLL circuit in accordance with the present invention. The PLL circuit 100, shown in FIG. 1, includes a charge pump 110, fed by a current source 135. The current into the charge pump 110 determines how much current is pumped into the low pass filter (LPF) 115. This current charges the capacitors of the LPF 115 and thus controls the voltage to the VCO.

For one embodiment of the present invention the current source 135 has a number of switch-controlled current meters, not shown, that control the amount of current. Each switch may contribute current in varying amounts to provide 16 current levels. The current, which may be controlled from the CPU of a baseband chip, not shown, changes the increment/decrement of the voltage coming out of the LPF 115. The adjustable current allows varying the voltage at the voltage control layer to obtain the desired modulation. For example, the frequency of a channel may be 2402 MHz+/−160 Khz that corresponds to V₀+/−ΔV. The charge pump current controls the ΔV. The current switches may be set to provide the desired output. To determine the current level required the VCO characteristics must first be determined.

FIG. 2 illustrates, in greater detail, the VCO 120 of FIG. 1. VCO 120 includes four capacitors C₀–C₃. Each capacitor has a switch D₀–D₃ that allows the capacitor to be turned on or off. The capacitors are directly controlled by the CPU of a baseband chip, not shown, that sets switches D₀–D₃. The four binary switches allow for 16 values of capacitance. The 16 values of capacitance may be chosen so that their values cover a range of frequencies much broader than the range of interest. For example, for the 16 capacitance values may cover a frequency range of 2200 MHz to 2600 MHz for a system utilizing a frequency range of 2402 MHz to 2480 MHz. This is done to account for the tolerance values of the passive components.

In order to accurately measure the VCO characteristics, the voltage source must be very well controlled. For one embodiment, voltage to the VCO 120 from the LPF 115 is cut and replaced with a control voltage from a digital-to-analog converter (DAC) 130. This is done to prevent any voltage variance from the LPF that may affect the measurement of VCO characteristics. The DAC provides voltage that is proportional to a digital input value. The DAC may thus provide voltages in uniform increments over a known linear range. For one embodiment the DAC may provide seven voltages, V₁–V₇, ranging from approximately 1.0V to approximately 1.75V in increments of approximately 0.125V.

FIG. 3 is a process flow diagram in accordance with one embodiment of the present invention. The process 300, shown in FIG. 3, begins at operation 305 in which the voltage/frequency characteristics of the VCO are measured for a number of capacitance value/voltage level combinations. The frequency is measured for each of the 16 capacitance values at a number of controlled voltage levels (e.g., 7 levels) provided by the DAC. The measurement may be made at another chip where a CPU and a frequency counter reside. For example, the capacitance may be set to C₀ and then a counter located on the baseband chip measures the frequency for voltages V₁–V₇. FIG. 4 illustrates, graphically, exemplary voltage frequency measurements in accordance with one embodiment of the present invention. As shown in FIG. 4, graph 405 may indicate the measured frequencies for capacitance equal to C₀. Graph 410 and 415 may indicate the measured frequencies for capacitance equal to C₁ and C₂, respectively, continuing to C₁₅ illustrated by graph 420. Of course the graphs are not continuous, but constructed from the seven discrete frequency/voltage points. For each of the 16 levels of capacitance, the frequency/voltage characteristics of the VCO will be different.

At operation 310, the results of the frequency measurements are compared to desired frequency bands, or frequencies of interest. For an embodiment in which the range of capacitor values corresponds to a frequency range greater than the range of interest, an initial determination may be made to determine a capacitance value that covers the frequency range of interest. The covered frequency range for each capacitance value is measured with two specific DAC values (e.g., V₁ corresponds to the lowest frequency and V₇ corresponds to the highest frequency). This process may be illustrated with a simple example. The frequency range of interest is denoted by [F_(x), F_(y)] where F_(x)/F_(y) is the lowest/highest frequency of the frequency band of interest. The capacitance value is chosen so that it covers the frequency range of interest, i.e. [F_(x), F_(y)].

This process is repeated for other frequency bands of interest. For example, a system using frequencies 2402 MHz to 2480 MHz may be partitioned into six bands each covering approximately 13 MHz.

Once the appropriate capacitance value has been determined, the appropriate charge pump current may be determined by using the frequency/voltage characteristics of the VCO for the given capacitance. In a PLL circuit, the slope, S, of the VCO frequency/voltage characteristics multiplied by the current, I, should equal a constant (e.g., 14,000). Because S×I=14,000, the slope can be used to determine the appropriate current value. The targeted constant (e.g. 14000 as shown in the above) is normally determined by the digital controlled modulation waveform, which controls the divider ratio and is not shown in the FIG. 1.

At operation 315, a representative frequency is determined for each of the six bands. The representative frequency represents the band in terms of slope. Some wireless specifications allow for at most 10% variance in the slope, so the representative frequency must be determined accurately. For one embodiment this frequency may be obtained from the direct measurement of a number of VCO circuit chips. For one embodiment several hundred chips are tested to determine the representative frequency. The representative frequencies, determined through testing, are then applied to all chips.

At operation 320 the VCO gain (frequency-voltage slope) is estimated at the representative frequency. For one embodiment the slope is estimated through a 3rd order polynomial interpolation of selected points around the representative frequency. In an alternative embodiment the slope may be estimated through a second order interpolation.

Once the slope has been estimated the appropriate charge pump current level is determined. In one embodiment a mapping table may be used to obtain the charge pump current level corresponding to the estimated slope.

Thus, the method of one embodiment of the present invention allows an appropriate VCO capacitance level and charge pump current level to be determined for each frequency band of interest. At operation 325, the VCO capacitance value and charge pump current level is set to determined values.

The operations of determining and setting the VCO capacitance value and charge pump current level in accordance with the present invention may be implemented by hardware and/or software contained within a baseband chip. For example, the baseband chip may include a central processing unit (CPU) that can execute code or instructions stored within a machine-readable medium that may also be included within the baseband.

The machine-readable medium may include a mechanism that provides (i.e., stores and/or transmits) information in a form readable by a machine such as computer or digital processing device. For example, a machine-readable medium may include a read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash memory devices. The code or instructions may be represented by carrier-wave signals, infrared signals, digital signals, and by other like signals.

FIG. 5 illustrates a system block diagram in accordance with one embodiment of the present invention. The system 500, shown in FIG. 5, includes RF chip 550. RF chip 550 contains the PLL circuit having VCO circuit 520. RF chip 550 is coupled to baseband chip 560. Baseband chip 560 includes a CPU 565 coupled to a memory device 570. Memory device 570 stores the code for the algorithm of the present invention. The CPU 565 executes the code and set registers 580 that in turn control the charge pump current level and VCO capacitance value.

In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense. 

1. A method, comprising: a) dividing a frequency range into a plurality of frequency bands of interest; b) determining a representative frequency for a particular frequency band of interest; c) estimating a voltage-controlled oscillator (VCO) gain at the representative frequency, the estimation based at least in part on a polynomial interpolation of frequency-voltage points around the representative frequency; and d) selecting a charge pump current level for the particular frequency band of interest, the charge pump current level based at least in part upon the VCO gain.
 2. The method of claim 1, comprising repeating operations b) through d) for each frequency band of interest.
 3. The method of claim 1, wherein the charge pump current level is selected from a plurality of charge pump current levels.
 4. The method of claim 3, wherein the plurality of charge pump current levels are provided through a set of switchable current meters.
 5. The method of claim 1, wherein the VCO has a capacitance value set by a bank of switchable capacitors.
 6. The method of claim 5, wherein the bank of switchable capacitors comprises four binary switch capacitors such that the capacitance value may be set to one of 16 capacitance values.
 7. A system, comprising: a phase-locked loop (PLL) circuit, the PLL circuit comprising a voltage controlled oscillator (VCO) circuit and a charge pump; a central processing unit; and a memory coupled to the central processing unit, the memory having stored therein instructions which, when executed by the central processing unit, cause the central processing unit to: a) divide a frequency range into a plurality of frequency bands of interest; b) determine a representative frequency for a particular frequency band of interest; c) estimate a voltage-controlled oscillator (VCO) gain at the representative frequency, the estimation based at least in part on a polynomial interpolation of frequency-voltage points around the representative frequency; and d) select a charge pump current level for the particular frequency band of interest, the charge pump current level based at least in part upon the VCO gain.
 8. The system of claim 7, comprising repeating operations b) through d) for each frequency band of interest.
 9. The system of claim 7, wherein the charge pump current level is selected from a plurality of charge pump current levels.
 10. The system of claim 9, wherein the plurality of charge pump current levels are provided through a set of switchable current meters.
 11. The system of claim 7, wherein the VCO has a capacitance value set by a bank of switchable capacitors.
 12. The system of claim 11, wherein the bank of switchable capacitors comprises four binary switch capacitors such that the capacitance value may be set to one of 16 capacitance values.
 13. A method for tuning a voltage controlled oscillator (VCO) for an operation frequency range of a system, comprising: dividing the operation frequency range of the system into a plurality of frequency bands of interest; measuring a plurality of frequency ranges of a voltage-controlled oscillator (VCO), each frequency range measured at one of a plurality of capacitance values; selecting a first frequency band of interest from among the plurality of frequency bands of interest; comparing a lowest frequency and a highest frequency of at least one of the measured frequency ranges to the first frequency band of interest; selecting a first capacitance value associated with a first measured frequency range that corresponds to the first frequency band of interest; selecting a second frequency band of interest from among the plurality of frequency bands of interest; comparing the lowest frequency and the highest frequency of at least one of the measured frequency ranges to the second frequency band of interest; and selecting a second capacitance value associated with a second measured frequency range that corresponds to the second frequency band of interest.
 14. The method of claim 13, further comprising: associating the first capacitance value with the first frequency band of interest; and associating the second capacitance value with the second frequency band of interest.
 15. The method of claim 13, wherein each frequency range is further measured at a plurality of voltage levels.
 16. The method of claim 13, further comprising: determining a representative frequency for the first frequency band of interest; estimating a VCO gain at the representative frequency; and selecting a charge pump current level for the first frequency band of interest, the charge pump current level based upon the VCO gain.
 17. The method of claim 16, wherein the charge pump current level is selected from a plurality of charge pump current levels.
 18. The method of claim 17, wherein the plurality of charge pump current levels are provided through a set of switchable current meters.
 19. The method of claim 13, wherein at least one capacitance value is set by a bank of switchable capacitors.
 20. The method of claim 19, wherein the bank of switchable capacitors comprises four binary switch capacitors such that the at least one capacitance value may be set to one of 16 capacitance values. 